package com.chen.service.impl;

import com.chen.domain.Admin;
import com.chen.mapper.AdminMapper;
import com.chen.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdminServiceImpl implements AdminService {
    @Autowired
    private AdminMapper adminMapper;
    @Override
    public Admin findByAdmin(Admin admin) {
        return adminMapper.findByAdmin(admin);
    }

    @Override
    public Integer editPswByAdmin(Admin admin) {
        return adminMapper.editPswByAdmin(admin);
    }
}
